package com.jieshuibao.model.db;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QuestionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public QuestionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public QuestionExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("question.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("question.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("question.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("question.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("question.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("question.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("question.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("question.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("question.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("question.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("question.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("question.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("question.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("question.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIsNull() {
            addCriterion("question.phoneNum is null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIsNotNull() {
            addCriterion("question.phoneNum is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumEqualTo(String value) {
            addCriterion("question.phoneNum =", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotEqualTo(String value) {
            addCriterion("question.phoneNum <>", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumGreaterThan(String value) {
            addCriterion("question.phoneNum >", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumGreaterThanOrEqualTo(String value) {
            addCriterion("question.phoneNum >=", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLessThan(String value) {
            addCriterion("question.phoneNum <", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLessThanOrEqualTo(String value) {
            addCriterion("question.phoneNum <=", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLike(String value) {
            addCriterion("question.phoneNum like", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotLike(String value) {
            addCriterion("question.phoneNum not like", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIn(List<String> values) {
            addCriterion("question.phoneNum in", values, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotIn(List<String> values) {
            addCriterion("question.phoneNum not in", values, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumBetween(String value1, String value2) {
            addCriterion("question.phoneNum between", value1, value2, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotBetween(String value1, String value2) {
            addCriterion("question.phoneNum not between", value1, value2, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("question.date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("question.date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterion("question.date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterion("question.date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterion("question.date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterion("question.date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterion("question.date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterion("question.date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterion("question.date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterion("question.date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterion("question.date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterion("question.date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andAddMoneyIsNull() {
            addCriterion("question.addMoney is null");
            return (Criteria) this;
        }

        public Criteria andAddMoneyIsNotNull() {
            addCriterion("question.addMoney is not null");
            return (Criteria) this;
        }

        public Criteria andAddMoneyEqualTo(Integer value) {
            addCriterion("question.addMoney =", value, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyNotEqualTo(Integer value) {
            addCriterion("question.addMoney <>", value, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyGreaterThan(Integer value) {
            addCriterion("question.addMoney >", value, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.addMoney >=", value, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyLessThan(Integer value) {
            addCriterion("question.addMoney <", value, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("question.addMoney <=", value, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyIn(List<Integer> values) {
            addCriterion("question.addMoney in", values, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyNotIn(List<Integer> values) {
            addCriterion("question.addMoney not in", values, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyBetween(Integer value1, Integer value2) {
            addCriterion("question.addMoney between", value1, value2, "addMoney");
            return (Criteria) this;
        }

        public Criteria andAddMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("question.addMoney not between", value1, value2, "addMoney");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("question.money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("question.money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(Integer value) {
            addCriterion("question.money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(Integer value) {
            addCriterion("question.money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(Integer value) {
            addCriterion("question.money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(Integer value) {
            addCriterion("question.money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("question.money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<Integer> values) {
            addCriterion("question.money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<Integer> values) {
            addCriterion("question.money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(Integer value1, Integer value2) {
            addCriterion("question.money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("question.money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("question.content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("question.content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("question.content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("question.content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("question.content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("question.content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("question.content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("question.content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("question.content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("question.content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("question.content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("question.content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("question.content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("question.content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andImgsIsNull() {
            addCriterion("question.imgs is null");
            return (Criteria) this;
        }

        public Criteria andImgsIsNotNull() {
            addCriterion("question.imgs is not null");
            return (Criteria) this;
        }

        public Criteria andImgsEqualTo(String value) {
            addCriterion("question.imgs =", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotEqualTo(String value) {
            addCriterion("question.imgs <>", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsGreaterThan(String value) {
            addCriterion("question.imgs >", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsGreaterThanOrEqualTo(String value) {
            addCriterion("question.imgs >=", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsLessThan(String value) {
            addCriterion("question.imgs <", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsLessThanOrEqualTo(String value) {
            addCriterion("question.imgs <=", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsLike(String value) {
            addCriterion("question.imgs like", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotLike(String value) {
            addCriterion("question.imgs not like", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsIn(List<String> values) {
            addCriterion("question.imgs in", values, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotIn(List<String> values) {
            addCriterion("question.imgs not in", values, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsBetween(String value1, String value2) {
            addCriterion("question.imgs between", value1, value2, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotBetween(String value1, String value2) {
            addCriterion("question.imgs not between", value1, value2, "imgs");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("question.status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("question.status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("question.status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("question.status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("question.status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("question.status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("question.status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("question.status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("question.status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("question.status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("question.status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("question.endDate is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("question.endDate is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterion("question.endDate =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterion("question.endDate <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterion("question.endDate >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("question.endDate >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterion("question.endDate <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("question.endDate <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterion("question.endDate in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterion("question.endDate not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("question.endDate between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("question.endDate not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andAnswerNumIsNull() {
            addCriterion("question.answerNum is null");
            return (Criteria) this;
        }

        public Criteria andAnswerNumIsNotNull() {
            addCriterion("question.answerNum is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerNumEqualTo(Integer value) {
            addCriterion("question.answerNum =", value, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumNotEqualTo(Integer value) {
            addCriterion("question.answerNum <>", value, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumGreaterThan(Integer value) {
            addCriterion("question.answerNum >", value, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.answerNum >=", value, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumLessThan(Integer value) {
            addCriterion("question.answerNum <", value, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumLessThanOrEqualTo(Integer value) {
            addCriterion("question.answerNum <=", value, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumIn(List<Integer> values) {
            addCriterion("question.answerNum in", values, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumNotIn(List<Integer> values) {
            addCriterion("question.answerNum not in", values, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumBetween(Integer value1, Integer value2) {
            addCriterion("question.answerNum between", value1, value2, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerNumNotBetween(Integer value1, Integer value2) {
            addCriterion("question.answerNum not between", value1, value2, "answerNum");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesIsNull() {
            addCriterion("question.answerUserPhones is null");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesIsNotNull() {
            addCriterion("question.answerUserPhones is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesEqualTo(String value) {
            addCriterion("question.answerUserPhones =", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesNotEqualTo(String value) {
            addCriterion("question.answerUserPhones <>", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesGreaterThan(String value) {
            addCriterion("question.answerUserPhones >", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesGreaterThanOrEqualTo(String value) {
            addCriterion("question.answerUserPhones >=", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesLessThan(String value) {
            addCriterion("question.answerUserPhones <", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesLessThanOrEqualTo(String value) {
            addCriterion("question.answerUserPhones <=", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesLike(String value) {
            addCriterion("question.answerUserPhones like", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesNotLike(String value) {
            addCriterion("question.answerUserPhones not like", value, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesIn(List<String> values) {
            addCriterion("question.answerUserPhones in", values, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesNotIn(List<String> values) {
            addCriterion("question.answerUserPhones not in", values, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesBetween(String value1, String value2) {
            addCriterion("question.answerUserPhones between", value1, value2, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAnswerUserPhonesNotBetween(String value1, String value2) {
            addCriterion("question.answerUserPhones not between", value1, value2, "answerUserPhones");
            return (Criteria) this;
        }

        public Criteria andAreaIsNull() {
            addCriterion("question.area is null");
            return (Criteria) this;
        }

        public Criteria andAreaIsNotNull() {
            addCriterion("question.area is not null");
            return (Criteria) this;
        }

        public Criteria andAreaEqualTo(String value) {
            addCriterion("question.area =", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotEqualTo(String value) {
            addCriterion("question.area <>", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThan(String value) {
            addCriterion("question.area >", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThanOrEqualTo(String value) {
            addCriterion("question.area >=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThan(String value) {
            addCriterion("question.area <", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThanOrEqualTo(String value) {
            addCriterion("question.area <=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLike(String value) {
            addCriterion("question.area like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotLike(String value) {
            addCriterion("question.area not like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaIn(List<String> values) {
            addCriterion("question.area in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotIn(List<String> values) {
            addCriterion("question.area not in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaBetween(String value1, String value2) {
            addCriterion("question.area between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotBetween(String value1, String value2) {
            addCriterion("question.area not between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andRewardNumIsNull() {
            addCriterion("question.rewardNum is null");
            return (Criteria) this;
        }

        public Criteria andRewardNumIsNotNull() {
            addCriterion("question.rewardNum is not null");
            return (Criteria) this;
        }

        public Criteria andRewardNumEqualTo(Integer value) {
            addCriterion("question.rewardNum =", value, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumNotEqualTo(Integer value) {
            addCriterion("question.rewardNum <>", value, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumGreaterThan(Integer value) {
            addCriterion("question.rewardNum >", value, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.rewardNum >=", value, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumLessThan(Integer value) {
            addCriterion("question.rewardNum <", value, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumLessThanOrEqualTo(Integer value) {
            addCriterion("question.rewardNum <=", value, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumIn(List<Integer> values) {
            addCriterion("question.rewardNum in", values, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumNotIn(List<Integer> values) {
            addCriterion("question.rewardNum not in", values, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumBetween(Integer value1, Integer value2) {
            addCriterion("question.rewardNum between", value1, value2, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andRewardNumNotBetween(Integer value1, Integer value2) {
            addCriterion("question.rewardNum not between", value1, value2, "rewardNum");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("question.payStatus is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("question.payStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(String value) {
            addCriterion("question.payStatus =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(String value) {
            addCriterion("question.payStatus <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(String value) {
            addCriterion("question.payStatus >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(String value) {
            addCriterion("question.payStatus >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(String value) {
            addCriterion("question.payStatus <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(String value) {
            addCriterion("question.payStatus <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLike(String value) {
            addCriterion("question.payStatus like", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotLike(String value) {
            addCriterion("question.payStatus not like", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<String> values) {
            addCriterion("question.payStatus in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<String> values) {
            addCriterion("question.payStatus not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(String value1, String value2) {
            addCriterion("question.payStatus between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(String value1, String value2) {
            addCriterion("question.payStatus not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andAddTypeIsNull() {
            addCriterion("question.addType is null");
            return (Criteria) this;
        }

        public Criteria andAddTypeIsNotNull() {
            addCriterion("question.addType is not null");
            return (Criteria) this;
        }

        public Criteria andAddTypeEqualTo(String value) {
            addCriterion("question.addType =", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeNotEqualTo(String value) {
            addCriterion("question.addType <>", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeGreaterThan(String value) {
            addCriterion("question.addType >", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeGreaterThanOrEqualTo(String value) {
            addCriterion("question.addType >=", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeLessThan(String value) {
            addCriterion("question.addType <", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeLessThanOrEqualTo(String value) {
            addCriterion("question.addType <=", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeLike(String value) {
            addCriterion("question.addType like", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeNotLike(String value) {
            addCriterion("question.addType not like", value, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeIn(List<String> values) {
            addCriterion("question.addType in", values, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeNotIn(List<String> values) {
            addCriterion("question.addType not in", values, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeBetween(String value1, String value2) {
            addCriterion("question.addType between", value1, value2, "addType");
            return (Criteria) this;
        }

        public Criteria andAddTypeNotBetween(String value1, String value2) {
            addCriterion("question.addType not between", value1, value2, "addType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("question.payType is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("question.payType is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(String value) {
            addCriterion("question.payType =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(String value) {
            addCriterion("question.payType <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(String value) {
            addCriterion("question.payType >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(String value) {
            addCriterion("question.payType >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(String value) {
            addCriterion("question.payType <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(String value) {
            addCriterion("question.payType <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLike(String value) {
            addCriterion("question.payType like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotLike(String value) {
            addCriterion("question.payType not like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<String> values) {
            addCriterion("question.payType in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<String> values) {
            addCriterion("question.payType not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(String value1, String value2) {
            addCriterion("question.payType between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(String value1, String value2) {
            addCriterion("question.payType not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("question.delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("question.delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("question.delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("question.delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("question.delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("question.delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("question.delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("question.delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("question.delFlag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("question.delFlag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("question.delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("question.delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("question.delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("question.delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andQuIpIsNull() {
            addCriterion("question.quIp is null");
            return (Criteria) this;
        }

        public Criteria andQuIpIsNotNull() {
            addCriterion("question.quIp is not null");
            return (Criteria) this;
        }

        public Criteria andQuIpEqualTo(String value) {
            addCriterion("question.quIp =", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpNotEqualTo(String value) {
            addCriterion("question.quIp <>", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpGreaterThan(String value) {
            addCriterion("question.quIp >", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpGreaterThanOrEqualTo(String value) {
            addCriterion("question.quIp >=", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpLessThan(String value) {
            addCriterion("question.quIp <", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpLessThanOrEqualTo(String value) {
            addCriterion("question.quIp <=", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpLike(String value) {
            addCriterion("question.quIp like", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpNotLike(String value) {
            addCriterion("question.quIp not like", value, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpIn(List<String> values) {
            addCriterion("question.quIp in", values, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpNotIn(List<String> values) {
            addCriterion("question.quIp not in", values, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpBetween(String value1, String value2) {
            addCriterion("question.quIp between", value1, value2, "quIp");
            return (Criteria) this;
        }

        public Criteria andQuIpNotBetween(String value1, String value2) {
            addCriterion("question.quIp not between", value1, value2, "quIp");
            return (Criteria) this;
        }

        public Criteria andTaxIsNull() {
            addCriterion("question.tax is null");
            return (Criteria) this;
        }

        public Criteria andTaxIsNotNull() {
            addCriterion("question.tax is not null");
            return (Criteria) this;
        }

        public Criteria andTaxEqualTo(String value) {
            addCriterion("question.tax =", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotEqualTo(String value) {
            addCriterion("question.tax <>", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThan(String value) {
            addCriterion("question.tax >", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThanOrEqualTo(String value) {
            addCriterion("question.tax >=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThan(String value) {
            addCriterion("question.tax <", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThanOrEqualTo(String value) {
            addCriterion("question.tax <=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLike(String value) {
            addCriterion("question.tax like", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotLike(String value) {
            addCriterion("question.tax not like", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxIn(List<String> values) {
            addCriterion("question.tax in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotIn(List<String> values) {
            addCriterion("question.tax not in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxBetween(String value1, String value2) {
            addCriterion("question.tax between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotBetween(String value1, String value2) {
            addCriterion("question.tax not between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTradeIsNull() {
            addCriterion("question.trade is null");
            return (Criteria) this;
        }

        public Criteria andTradeIsNotNull() {
            addCriterion("question.trade is not null");
            return (Criteria) this;
        }

        public Criteria andTradeEqualTo(String value) {
            addCriterion("question.trade =", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotEqualTo(String value) {
            addCriterion("question.trade <>", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeGreaterThan(String value) {
            addCriterion("question.trade >", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeGreaterThanOrEqualTo(String value) {
            addCriterion("question.trade >=", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLessThan(String value) {
            addCriterion("question.trade <", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLessThanOrEqualTo(String value) {
            addCriterion("question.trade <=", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLike(String value) {
            addCriterion("question.trade like", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotLike(String value) {
            addCriterion("question.trade not like", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeIn(List<String> values) {
            addCriterion("question.trade in", values, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotIn(List<String> values) {
            addCriterion("question.trade not in", values, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeBetween(String value1, String value2) {
            addCriterion("question.trade between", value1, value2, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotBetween(String value1, String value2) {
            addCriterion("question.trade not between", value1, value2, "trade");
            return (Criteria) this;
        }

        public Criteria andTopicIsNull() {
            addCriterion("question.topic is null");
            return (Criteria) this;
        }

        public Criteria andTopicIsNotNull() {
            addCriterion("question.topic is not null");
            return (Criteria) this;
        }

        public Criteria andTopicEqualTo(String value) {
            addCriterion("question.topic =", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotEqualTo(String value) {
            addCriterion("question.topic <>", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThan(String value) {
            addCriterion("question.topic >", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanOrEqualTo(String value) {
            addCriterion("question.topic >=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThan(String value) {
            addCriterion("question.topic <", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThanOrEqualTo(String value) {
            addCriterion("question.topic <=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLike(String value) {
            addCriterion("question.topic like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotLike(String value) {
            addCriterion("question.topic not like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicIn(List<String> values) {
            addCriterion("question.topic in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotIn(List<String> values) {
            addCriterion("question.topic not in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicBetween(String value1, String value2) {
            addCriterion("question.topic between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotBetween(String value1, String value2) {
            addCriterion("question.topic not between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andIsAnonIsNull() {
            addCriterion("question.isAnon is null");
            return (Criteria) this;
        }

        public Criteria andIsAnonIsNotNull() {
            addCriterion("question.isAnon is not null");
            return (Criteria) this;
        }

        public Criteria andIsAnonEqualTo(String value) {
            addCriterion("question.isAnon =", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonNotEqualTo(String value) {
            addCriterion("question.isAnon <>", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonGreaterThan(String value) {
            addCriterion("question.isAnon >", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonGreaterThanOrEqualTo(String value) {
            addCriterion("question.isAnon >=", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonLessThan(String value) {
            addCriterion("question.isAnon <", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonLessThanOrEqualTo(String value) {
            addCriterion("question.isAnon <=", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonLike(String value) {
            addCriterion("question.isAnon like", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonNotLike(String value) {
            addCriterion("question.isAnon not like", value, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonIn(List<String> values) {
            addCriterion("question.isAnon in", values, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonNotIn(List<String> values) {
            addCriterion("question.isAnon not in", values, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonBetween(String value1, String value2) {
            addCriterion("question.isAnon between", value1, value2, "isAnon");
            return (Criteria) this;
        }

        public Criteria andIsAnonNotBetween(String value1, String value2) {
            addCriterion("question.isAnon not between", value1, value2, "isAnon");
            return (Criteria) this;
        }

        public Criteria andRecomIsNull() {
            addCriterion("question.recom is null");
            return (Criteria) this;
        }

        public Criteria andRecomIsNotNull() {
            addCriterion("question.recom is not null");
            return (Criteria) this;
        }

        public Criteria andRecomEqualTo(Integer value) {
            addCriterion("question.recom =", value, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomNotEqualTo(Integer value) {
            addCriterion("question.recom <>", value, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomGreaterThan(Integer value) {
            addCriterion("question.recom >", value, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.recom >=", value, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomLessThan(Integer value) {
            addCriterion("question.recom <", value, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomLessThanOrEqualTo(Integer value) {
            addCriterion("question.recom <=", value, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomIn(List<Integer> values) {
            addCriterion("question.recom in", values, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomNotIn(List<Integer> values) {
            addCriterion("question.recom not in", values, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomBetween(Integer value1, Integer value2) {
            addCriterion("question.recom between", value1, value2, "recom");
            return (Criteria) this;
        }

        public Criteria andRecomNotBetween(Integer value1, Integer value2) {
            addCriterion("question.recom not between", value1, value2, "recom");
            return (Criteria) this;
        }

        public Criteria andHotIsNull() {
            addCriterion("question.hot is null");
            return (Criteria) this;
        }

        public Criteria andHotIsNotNull() {
            addCriterion("question.hot is not null");
            return (Criteria) this;
        }

        public Criteria andHotEqualTo(Integer value) {
            addCriterion("question.hot =", value, "hot");
            return (Criteria) this;
        }

        public Criteria andHotNotEqualTo(Integer value) {
            addCriterion("question.hot <>", value, "hot");
            return (Criteria) this;
        }

        public Criteria andHotGreaterThan(Integer value) {
            addCriterion("question.hot >", value, "hot");
            return (Criteria) this;
        }

        public Criteria andHotGreaterThanOrEqualTo(Integer value) {
            addCriterion("question.hot >=", value, "hot");
            return (Criteria) this;
        }

        public Criteria andHotLessThan(Integer value) {
            addCriterion("question.hot <", value, "hot");
            return (Criteria) this;
        }

        public Criteria andHotLessThanOrEqualTo(Integer value) {
            addCriterion("question.hot <=", value, "hot");
            return (Criteria) this;
        }

        public Criteria andHotIn(List<Integer> values) {
            addCriterion("question.hot in", values, "hot");
            return (Criteria) this;
        }

        public Criteria andHotNotIn(List<Integer> values) {
            addCriterion("question.hot not in", values, "hot");
            return (Criteria) this;
        }

        public Criteria andHotBetween(Integer value1, Integer value2) {
            addCriterion("question.hot between", value1, value2, "hot");
            return (Criteria) this;
        }

        public Criteria andHotNotBetween(Integer value1, Integer value2) {
            addCriterion("question.hot not between", value1, value2, "hot");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusIsNull() {
            addCriterion("question.annoStatus is null");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusIsNotNull() {
            addCriterion("question.annoStatus is not null");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusEqualTo(String value) {
            addCriterion("question.annoStatus =", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusNotEqualTo(String value) {
            addCriterion("question.annoStatus <>", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusGreaterThan(String value) {
            addCriterion("question.annoStatus >", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusGreaterThanOrEqualTo(String value) {
            addCriterion("question.annoStatus >=", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusLessThan(String value) {
            addCriterion("question.annoStatus <", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusLessThanOrEqualTo(String value) {
            addCriterion("question.annoStatus <=", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusLike(String value) {
            addCriterion("question.annoStatus like", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusNotLike(String value) {
            addCriterion("question.annoStatus not like", value, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusIn(List<String> values) {
            addCriterion("question.annoStatus in", values, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusNotIn(List<String> values) {
            addCriterion("question.annoStatus not in", values, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusBetween(String value1, String value2) {
            addCriterion("question.annoStatus between", value1, value2, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andAnnoStatusNotBetween(String value1, String value2) {
            addCriterion("question.annoStatus not between", value1, value2, "annoStatus");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("question.remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("question.remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("question.remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("question.remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("question.remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("question.remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("question.remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("question.remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("question.remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("question.remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("question.remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("question.remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("question.remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("question.remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}